//
//  GuiGeXiangQingView.m
//  firstpoint
//
//  Created by 泽中 on 2017/7/25.
//  Copyright © 2017年 xzcysoft. All rights reserved.
//

#import "GuiGeXiangQingView.h"

@implementation GuiGeXiangQingView
-(instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        self.backgroundColor=[UIColor whiteColor];
        _imgView=[[UIImageView alloc]initWithFrame:CGRectMake(10, 10, 75, 75)];
        [self addSubview:_imgView];
        
        _titleLab=[[UILabel alloc]initWithFrame:CGRectMake(95, 12, self.mj_w-95-20, 15)];
        _titleLab.font=[UIFont systemFontOfSize:15];
        _titleLab.textColor=LRRGBColor(68, 68, 68);
        [self addSubview:_titleLab];
        
        _guigeLab=[[UILabel alloc]initWithFrame:CGRectMake(95, 32, 100, 10)];
        _guigeLab.textColor=[UIColor lightGrayColor];
        _guigeLab.font=[UIFont systemFontOfSize:10];
        [self addSubview:_guigeLab];
        
        _colorLab=[[UILabel alloc]initWithFrame:CGRectMake(130, 32, 100, 10)];
        _colorLab.textColor=[UIColor lightGrayColor];
        _colorLab.font=[UIFont systemFontOfSize:10];
        [self addSubview:_colorLab];
        
        _jiageLab=[[UILabel alloc]initWithFrame:CGRectMake(95, 52, 300, 15)];
        _jiageLab.textColor=[UIColor orangeColor];
        _jiageLab.font=[UIFont fontWithName:@"Arial-BoldMT"size:15];
        [self addSubview:_jiageLab];
        
        _numLab=[[UILabel alloc]initWithFrame:CGRectMake(95, 72, 300, 12)];
        _numLab.textColor=[UIColor orangeColor];
//        _numLab.text=@"x 1";
        _numLab.font=[UIFont systemFontOfSize:12];
        [self addSubview:_numLab];
    }
    return self;

}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
